{{define "header"}}
<div class="navar navbar-fixed-top" style="background: url(/image/tt2bg.png) repeat;">
	<div class="container">
		
		<ul class="nav nav-pills">
			<li>
				<a class="link navbar-brand" href="/"   style="color:white;">
			  TeamCoop
				</a>
			</li>
			<li class="{{if .IsTodo}}active{{end}}">
				<a href="/?page=todo"  style="color:white;">
				{{if .IsTodo}}
				<strong>
				{{else}}
				<p class="text-muted">
				{{end}}
				TODO
				{{if .IsTodo}}
				</strong>
				{{else}}
				</p>
				{{end}}
				</a>
			</li>
			<li class="{{if .IsDynamic}}active{{end}}">
				<a href="/?page=dynamic"  style="color:white;">
				{{if .IsDynamic}}
				<strong>
				{{else}}
				<p class="text-muted">
				{{end}}
				团队动态
				{{if .IsDynamic}}
				</strong>
				{{else}}
				</p>
				{{end}}
				</a>
			</li>
			<li class="{{if .IsUsers}}active{{end}}">
				<a  href="/?page=users"  style="color:white;">
				{{if .IsUsers}}
				<strong>
				{{else}}
				<p class="text-muted">
				{{end}}
				成员管理
				{{if .IsUsers}}
				</strong>
				{{else}}
				</p>
				{{end}}
				</a>
			</li>
			<li class="nav pull-right">
				<!--设置登录-->
				<a href="/action/login?exit=true" style="color:white;">退出登录</a>
			</li>
		</ul>
	</div>
</div>
{{end}}